<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<title>退出</title>
<script type="text/javascript">
</script>
<script type="text/javascript" src="__PUBLIC__/index/js/jquery-1.8.1.js"></script>

<!-- 引入微信的js -->
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>

<link href="__PUBLIC__/index/css/sign2.css" type="text/css" rel="stylesheet">
<link href="__PUBLIC__/index/css/css.css" type="text/css" rel="stylesheet">

<script type="text/javascript" src="__PUBLIC__/index/js/alert.js"></script>
</head>
</html>
<script type="text/javascript">
// 去除微信右上角的点点点
wx.config({
    debug: false,
    appId: "{$sign.appId}",
    timestamp:"{$sign.timestamp}",
    nonceStr:"{$sign.nonceStr}",
    signature:"{$sign.signature}",
    jsApiList: [
        'wx.hideOptionMenu',
      ]
});
wx.checkJsApi({
    jsApiList: [
        'getLocation'
    ],
    success: function (res) {
  
        if (res.checkResult.getLocation == false) {
            alert('你的微信版本太低，不支持微信JS接口，请升级到最新的微信版本！');
            return;
        }
    }
});
//隐藏微信右上角
wx.ready(function () {
   wx.hideOptionMenu();
   wx.closeWindow();
    
});
</script>
